@forward 'element-plus/theme-chalk/src/common/var.scss' with (
  $colors: (
    'primary': (
      'base': #e54c5f,
    ),
  ),
);
@use "element-plus/theme-chalk/src/index.scss" as *;

.el-form--label-top .el-form-item .el-form-item__label {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
}
.el-switch__input{
  width:100%;
  height:100%
}
.el-switch__core{
  width:90%;
  height:100%
}

.cardTypeCard {
  border-radius: 5px;
  padding: 0;
  cursor: pointer;

  .el-card__body {
    padding: 10px !important;
  }
}

.amountForm{
  .el-form-item__label{
    font-size: 16px !important;
    color:#333 !important;
  }
}

.custom-message-box {
  .el-message-box__btns{
    margin-top:10px !important;
    .el-button:first-child{
      margin-right: 5% !important;
    }
  }
}

.fixed-label-width .el-descriptions__label {
  display: inline-block;
  width: 48%;
  /* 设置你想要的固定宽度 */
  text-align: left;
  /* 根据需要设置对齐方式 */
  color: #7f7f7f !important;
}

.fixed-label-width .el-descriptions__content {
  display: inline-block;
  width: 48%;
  /* 设置你想要的固定宽度 */
  text-align: right;
  /* 根据需要设置对齐方式 */
  color: #000000 !important;
}

.custom-label-width .el-descriptions__label {
  display: inline-block;
  width: 90px;
  /* 设置你想要的固定宽度 */
  text-align: left;
}

.custom-label-width .el-descriptions__content {
  display: inline-block;
  /* 设置你想要的固定宽度 */
  text-align: right;
}

/* 自定义嵌套的input框 */
.customInput .customInputWrap .el-input__wrapper {
  background: #fff;
  border-top: 1px solid #dddfe7;
  border-left: 1px solid #dddfe7;
  border-bottom: 1px solid #dddfe7;
  box-shadow: 0 0 0 1px #fff inset !important
}

.customInput .el-input-group__append,
.el-input-group__prepend {
  background: #fff !important;
}

.customInput .el-input-group__prepend {
  padding: 0 !important;
}

.customSelect .el-input__wrapper {
  box-shadow: 0 0 0 1px transparent inset !important;
}

.detailRow .customSelect .el-input.is-focus .el-input__wrapper {
  box-shadow: 0 0 0 1px transparent inset !important
}

.detailRow .customSelect .el-input__wrapper.is-focus {
  box-shadow: 0 0 0 1px transparent inset !important
}

.detailRow .customSelect .el-input__inner {
  text-align: right;
  color: #333;
  font-size: 16px;
}

.detailRow .customSelect .el-select__caret.el-icon {
  font-weight: bold;
  color: #000;
  font-size: 18px;
}

.customSelect .el-select-dropdown__item {
  height: 140px !important;
  padding: 0 5px 0 5px !important;
}

.customBtn {
  text-align: center;
  line-height: 40px;
  background: #e54c5f;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

.plainButton {
  background-color: #e54c5f !important;
  /* 设置按钮的背景颜色 */
  border-color: #e54c5f !important;
  /* 设置按钮的边框颜色 */
  color: #fff !important;
}

.el-drawer__header {
  text-align: center;
}
.text-success{
  color: green
}
.text-danger{
  color: red
}

.customAppendInput{
  .el-input__wrapper{
    box-shadow: none;
    border-bottom: 1px solid #ccc;
  }
  .el-input-group__append{
    box-shadow: none;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    color:#e54c5f
  }
}
.customCard{
  .el-card__header {
    padding: 10px 10px 0 !important;
    border: none;
  }
  .card-header{
    padding-bottom: 6px !important;
    font-size: 16px;
    border-bottom: 1px solid var(--el-card-border-color)
  }
  .el-card__body{
    padding: 0 10px 10px;
    font-size: 14px;
  }
}
.el-drawer__header{
  margin-bottom: 0px;
  color: #333;
  font-weight: 500;
  font-size: 18px;
}
.el-drawer__body{
  padding-top: 15px;
  padding-bottom: 10px;
}

.el-drawer__footer {
  padding:  0;
}
.el-popover{
  padding-top:10px !important;
  padding-bottom:0 !important
}

.el-icon{
  cursor: pointer;
}

.el-form-item{
  margin-bottom: 12px
}

.el-form--default.el-form--label-top .el-form-item .el-form-item__label{
  margin-bottom:2px
}

.custom-tabs .el-tabs__header {
  display: flex;
  align-items: center;
  margin-bottom:8px
}

.custom-tabs .el-tabs__nav-wrap::after {
  height: 0
}

.custom-tabs .el-tabs__item {
  position: relative;
  padding: 0 10px;
  font-size: 14px;
  color:#AAAAAA
}

.custom-tabs .el-tabs__item.is-active {
  color:#3853ED
}

.custom-tabs .el-tabs__item:hover {
  color:#3853ED
}
.custom-tabs .el-tabs__active-bar{
  height:0 !important;
}

.custom-tabs .el-tabs__item::before {
  content: '|';
  position: absolute;
  right: -3px;
  top: 45%;
  transform: translateY(-45%);
  color: #ccc;
}

.custom-tabs .el-tabs__item:last-child::before {
  content: none;
}

.custom-select .el-input__wrapper{
  padding:2px 6px 2px 3px
}
.el-input .el-input__icon{
  margin-left:12px
}

.el-input-group__prepend .el-input__validateIcon {
  display: none;
  /* 隐藏校验图标 */
}
.custom-selectDropDown{
  min-width:120px;
}
.custom-selectDropDown .el-select-dropdown__item{
  width:100%;
  padding:0 6px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.form-tabs{
  height:30px
}
.form-tabs .el-tabs__header{
  height:100%;
  align-items: center;
}